package com.huwei.vo;

import lombok.Data;

/**
 * 缓存数据源查询参数
 * @author huwei
 *
 */
@Data
public class TargetCacheInfo {
	final static String DEFAULT_CACHE_NAME = "default";
	private String cacheName;
	private String key;
	public TargetCacheInfo(String cacheName, String key) {
		this.cacheName = cacheName;
		this.key = key;
	}
	public TargetCacheInfo(String key) {
		this(DEFAULT_CACHE_NAME ,key);
	}
	
}
